import request from '@/utils/request'

// 查询萤石摄像头列表
export function listEzDevice(query) {
  return request({
    url: '/system/EzViz/device',
    method: 'get',
    params: query
  })
}

// 查询萤石第三方数据
export function getEzThirdData(query) {
  return request({
    url: '/system/EzViz/device/getEzvizThirdData',
    method: 'get',
    params: query
  })
}

export function deviceInfo(query) {
  return request({
    url: '/system/EzViz/device/info',
    method: 'get',
    params: query
  })
}

export function removeDevice(query) {
  return request({
    url: '/system/EzViz/device',
    method: 'delete',
    params: query
  })
}

